// site.isscloud.project.domain.PjStatsLocationTemperatureHour
package site.isscloud.project.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 空间位置温度分钟统计对象 pj_stats_location_temperature_minute
 */
public class PjStatsLocationTemperatureHour {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 空间编号 */
    private String lcCode;

    /** 设备编号 */
    private String deviceNo;

    /** 通道号 */
    private Integer channelNo;

    /** 统计时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date statTime;

    /** 最高温度 */
    private BigDecimal maxTemperature;

    /** 最低温度 */
    private BigDecimal minTemperature;

    /** 平均温度 */
    private BigDecimal avgTemperature;

    /** 包含的米标数量 */
    private Integer markerCount;

    /** 样本数量 */
    private Integer sampleCount;

    /** 详细温度数据 */
    private String temperatureData;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLcCode() {
        return lcCode;
    }

    public void setLcCode(String lcCode) {
        this.lcCode = lcCode;
    }

    public String getDeviceNo() {
        return deviceNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }

    public Integer getChannelNo() {
        return channelNo;
    }

    public void setChannelNo(Integer channelNo) {
        this.channelNo = channelNo;
    }

    public Date getStatTime() {
        return statTime;
    }

    public void setStatTime(Date statTime) {
        this.statTime = statTime;
    }

    public BigDecimal getMaxTemperature() {
        return maxTemperature;
    }

    public void setMaxTemperature(BigDecimal maxTemperature) {
        this.maxTemperature = maxTemperature;
    }

    public BigDecimal getMinTemperature() {
        return minTemperature;
    }

    public void setMinTemperature(BigDecimal minTemperature) {
        this.minTemperature = minTemperature;
    }

    public BigDecimal getAvgTemperature() {
        return avgTemperature;
    }

    public void setAvgTemperature(BigDecimal avgTemperature) {
        this.avgTemperature = avgTemperature;
    }

    public Integer getMarkerCount() {
        return markerCount;
    }

    public void setMarkerCount(Integer markerCount) {
        this.markerCount = markerCount;
    }

    public Integer getSampleCount() {
        return sampleCount;
    }

    public void setSampleCount(Integer sampleCount) {
        this.sampleCount = sampleCount;
    }

    public String getTemperatureData() {
        return temperatureData;
    }

    public void setTemperatureData(String temperatureData) {
        this.temperatureData = temperatureData;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("lcCode", getLcCode())
                .append("deviceNo", getDeviceNo())
                .append("channelNo", getChannelNo())
                .append("statTime", getStatTime())
                .append("maxTemperature", getMaxTemperature())
                .append("minTemperature", getMinTemperature())
                .append("avgTemperature", getAvgTemperature())
                .append("markerCount", getMarkerCount())
                .append("sampleCount", getSampleCount())
                .append("temperatureData", getTemperatureData())
                .toString();
    }
}